// 题库管理路由模块
import Layout from '@/layout'
export default {
  path: '/questions',
  name: 'questions',
  meta: { title: '题库管理', icon: 'el-icon-document' },
  component: Layout,
  children: [
    {
      path: 'list',
      name: 'list',
      component: () => import('@/views/questions/list'),
      meta: { title: '基础题库', icon: 'el-icon-menu' }
    },
    {
      path: 'choice',
      name: 'choice',
      component: () => import('@/views/questions/choice'),
      meta: { title: '精选题库', icon: 'el-icon-menu' }
    },
    {
      path: 'new',
      name: 'new',
      component: () => import('@/views/questions/new'),
      meta: { title: '试题录入', icon: 'el-icon-menu' }
    },
    {
      path: 'randoms',
      name: 'randoms',
      component: () => import('@/views/questions/randoms'),
      meta: { title: '组题列表', icon: 'el-icon-menu' }
    }
  ]
}
